package homework.day17;

import java.util.Date;
import java.util.Objects;

public class Employee {
    private Integer empId;

    private String empName;

    private Date empBir;

    private String empJob;

    public Employee() {

    }

    public Employee(Integer empId, String empName, Date empBir, String empJob) {
        this.empId = empId;
        this.empName = empName;
        this.empBir = empBir;
        this.empJob = empJob;
    }


    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public Date getEmpBir() {
        return empBir;
    }

    public void setEmpBir(Date empBir) {
        this.empBir = empBir;
    }

    public String getEmpJob() {
        return empJob;
    }

    public void setEmpJob(String empJob) {
        this.empJob = empJob;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("employee{");
        sb.append("empId=").append(empId);
        sb.append(", empName='").append(empName).append('\'');
        sb.append(", empBir=").append(empBir);
        sb.append(", empJob='").append(empJob).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
